package ace.cmp.openfeign.security.oauth2.test.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author caspar
 * @date 2023/3/16 17:11
 */
@FeignClient(
    name =
        "${ace.cmp.openfeign.test.api.userTestExcludeClassNameApi.name:userTestExcludeClassNameApi}",
    contextId = "userTestExcludeClassNameApi")
public interface UserTestExcludeClassNameApi {
  @GetMapping("/getByName")
  String getByName(@RequestParam("name") String name);
}
